package com.feiyuan.core.service;

import com.feiyuan.core.pojo.entity.AdminMenu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Xupf
 * @since 2022-09-06
 */
public interface AdminMenuService extends IService<AdminMenu> {

    /**
     * 查询所有菜单列表
     * @return
     */
    List<AdminMenu> selectMenus();

    /**
     * 查询上级菜单列表
     * @return
     */
    List<AdminMenu> selectUpMenus();

    /**
     * 查询左侧菜单导航
     * @param adminToken
     * @return
     */
    List<AdminMenu> selectNavigations(String adminToken);
}
